//
//  UIFont+LTM_Font.m
//  LTM_Category_Font_Objc_Example
//
//  Created by 柯南 on 2021/11/23.
//  Copyright © 2021 coenen. All rights reserved.
//

#import "UIFont+LTM_Font.h"

#define ScrenScale [UIScreen mainScreen].bounds.size.width/375.0

@implementation UIFont (LTM_Font)

+ (UIFont *)systemMediumFont:(CGFloat )fontSize{
    return [UIFont systemFontOfSize:fontSize weight:(UIFontWeightMedium)];
}

+ (UIFont *)systemSemiboldFont:(CGFloat )fontSize{
    return [UIFont systemFontOfSize:fontSize weight:(UIFontWeightSemibold)];
}

+ (UIFont *)systemLightFont:(CGFloat )fontSize{
    return [UIFont systemFontOfSize:fontSize weight:(UIFontWeightLight)];
}

+ (UIFont *)systemUltralightFont:(CGFloat )fontSize{
    return [UIFont systemFontOfSize:fontSize weight:(UIFontWeightUltraLight)];
}

+ (UIFont *)systemRegularFont:(CGFloat )fontSize{
    return [UIFont systemFontOfSize:fontSize weight:(UIFontWeightRegular)];
}

+ (UIFont *)systemThinFont:(CGFloat )fontSize{
    return [UIFont systemFontOfSize:fontSize weight:(UIFontWeightThin)];
}
@end
